package alkaid.oss.local.controller;

import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;

/**
 * 文件元数据传输对象
 *  
 * @author Lucky Yang
 * @since 0.0.1
 */
@Data
public class FileMetadataDto {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private Integer version;
    private String createBy;
    private Date createTime;
    private String name;
    private String path;
    private String contentType;
    private Long size;  
}
